﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace TienTeTuong.back_end
{
    public partial class CategoryDetailManagement : System.Web.UI.Page
    {
        public CategoryDetailBUS cateBus = new CategoryDetailBUS();
        public CategoryBUS cateBuss = new CategoryBUS();
        public ProductDetailBUS proBus = new ProductDetailBUS();
        public List<CateDetailProductDTO> opt = new List<CateDetailProductDTO>();
        public List<CategoryDetailDTO> lstCateDetail = new List<CategoryDetailDTO>();

        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["Admin"] == null)
            {
                Response.Redirect("Default.aspx");
            }
            lstCateDetail = cateBus.GetListCategoryDetail();
        }
    }
}